<h1>Listing group_teachers</h1>

<table>
  <tr>
    <th>Group</th>
    <th>Teacher</th>
    <th>Is headliner</th>
  </tr>

<% @group_teachers.each do |group_teacher| %>
  <tr>
    <td><%=h group_teacher.group %></td>
    <td><%=h group_teacher.teacher %></td>
    <td><%=h group_teacher.is_headliner %></td>
    <td><%= link_to 'Show', group_teacher %></td>
    <td><%= link_to 'Edit', edit_group_teacher_path(group_teacher) %></td>
    <td><%= link_to 'Destroy', group_teacher, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New group_teacher', new_group_teacher_path %>